package org.example.spring.carsalemanagementsystem.service;

import org.example.spring.carsalemanagementsystem.entity.Client;
import org.example.spring.carsalemanagementsystem.utils.Page;
import org.example.spring.carsalemanagementsystem.vo.ClientFuzzyVo;

import java.util.List;

public interface ClientService {
    void deleteById(String clientid);
    void insertOne(Client client);
    void updateById(Client client);
    Page<Client> findPages(Long pageNum, Long pageSize);//分页查询所有
    Page<Client> findPagesByKey(ClientFuzzyVo vo);//分页模糊查询
    void changeStatus(String clientid);//改变启用状态
    List<Client> findList();
}
